package cn.shenlong.portal.service;

import java.util.List;
import java.util.Map;

import cn.shenlong.common.Page;
import cn.shenlong.common.Pagination;
import cn.shenlong.portal.domain.Company;

public interface CompanyService {

	/**
	 * 保存公司
	 * 
	 * @param company
	 */
	public void save(Company company, long companyId);

	/**
	 * 显示分页数据
	 * 
	 * @param Company
	 * @return
	 */
	public Pagination findCompany(Company company,
			Map<String, Object> otherParm, Integer pageSize, Integer pageNo);

	public Page<Company> findPageByParm(Map<String, Object> otherParm, Integer pageNo, Integer pageSize);

	/**
	 * 查询内容
	 * 
	 * @param CompanyId
	 * @return
	 */
	public Company findCompanyByCompanyId(long companyId);

	public Company updateCompany(Company company);

	public void deleteCompany(Long[] companyId);

	public void deleteByCompanyId(List<Long> CompanyId);

	public void save(Company company);
}
